<table width="100%" border="0">
        <tr class="titulo" style="color: #FFFFFF; text-transform: uppercase;">
        <td width="13%"><div align="center">Matr&iacute;cula</div></td>
        <td width="74%"><div align="center">Nome</div></td>
        <td width="13%"><div align="center"></div></td>
      </tr>
 <?php 
    foreach ($queryComplete->getResult() as $irmao) {
 ?>     
      <tr>
        <td><div align="center"><?= @$irmao->getMatricula(); ?></div></td>
        <td><?= utf8_encode(@$irmao->getNome()); ?></td>
        <td><div align="center">
                <a href="#" onclick="cadastrarIrmao('<?= @$irmao->getAlunoId() ?>','<?= $alunoId?>')">
                    <img id="gravarIrmao" src="<?php echo base_url() . 'assets/images/add_database.png' ?>" border="0" title="Irmao"  width="20" height="20"/>
                </a>
            </div></td>
      </tr>

      
      <tr>
        <td><div align="center"></div></td>
        <td>&nbsp;</td>
        <td><div align="center"></div></td>
      </tr>
<?php 
    } 
?>      
</table> 